package com.dwxt.mall.service.feign;

import com.dwxt.common.base.BaseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("race")
public interface RaceService {

    @PostMapping("/race/enterRace/payBack")
    public BaseResult payBack(@RequestParam String orderId);

    @RequestMapping("/race/enterRace/payForSuccess")
    public BaseResult payForSuccess(@RequestParam String orderId);

}
